package com.opeartion.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

/**
 * @author sanshi
 * @version 1.0
 * @data 2020/6/6-14:36
 */

@Mapper
@Repository
public interface StoreManagerMapper {
    /**
     * 生产店铺的权限
     * @param putaway
     * @param price
     * @param coupon
     * @param id
     */
    @Update("UPDATE tb_store_manager SET putaway = #{putaway}" +
            ",price= #{price},coupon=#{coupon} WHERE id = #{id}")
    Integer UpdateManager(int putaway,int price,int coupon,int id);
}
